package com.hongxun.modules.csg.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.hongxun.common.validator.group.AddGroup;
import com.hongxun.common.validator.group.UpdateGroup;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;
import java.util.Date;


/**
 * 隐蔽工程：拉线坑
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-08-30 14:42:52
 */
public class CLinePitEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//guid
	private String guid;

	private String pGuid;
	//所属隐蔽工程ID
	private String mCGuid;
	//所属隐蔽工程名称
	private String mCName;
	//设计坑深
	@NotBlank(message="设计坑深不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String lPDesigndepth;

	//实际坑深
	@NotBlank(message="实际坑深不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String lPActualdepth;

	//土层深度
	@NotBlank(message="土层深度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String lPSoil;

	//砂石深度
	@NotBlank(message="砂石深度不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String lPStone;

	//检查结果
	@NotBlank(message="检查结果不能为空", groups = {AddGroup.class, UpdateGroup.class})
	@JsonInclude(JsonInclude.Include.NON_NULL)
	private String lPResult;

	//添加时间
//	@NotBlank(message="记录时间不能为空", groups = {AddGroup.class, UpdateGroup.class})
//	@JsonInclude(JsonInclude.Include.NON_NULL)
	private Date lPAddtime;

	//状态
	private String lPDatastate;


	/**
	 * 设置：guid
	 */
	public void setGuid(String guid) {
		this.guid = guid;
	}
	/**
	 * 获取：guid
	 */
	public String getGuid() {
		return guid;
	}

	public String getPGuid() {
		return pGuid;
	}

	public void setPGuid(String pGuid) {
		this.pGuid = pGuid;
	}

	/**
	 * 设置：所属隐蔽工程ID
	 */
	public void setMCGuid(String mCGuid) {
		this.mCGuid = mCGuid;
	}
	/**
	 * 获取：所属隐蔽工程ID
	 */
	public String getMCGuid() {
		return mCGuid;
	}
	/**
	 * 设置：所属隐蔽工程名称
	 */
	public void setMCName(String mCName) {
		this.mCName = mCName;
	}
	/**
	 * 获取：所属隐蔽工程名称
	 */
	public String getMCName() {
		return mCName;
	}
	/**
	 * 设置：设计坑深
	 */
	public void setLPDesigndepth(String lPDesigndepth) {
		this.lPDesigndepth = lPDesigndepth;
	}
	/**
	 * 获取：设计坑深
	 */
	public String getLPDesigndepth() {
		return lPDesigndepth;
	}
	/**
	 * 设置：实际坑深
	 */
	public void setLPActualdepth(String lPActualdepth) {
		this.lPActualdepth = lPActualdepth;
	}
	/**
	 * 获取：实际坑深
	 */
	public String getLPActualdepth() {
		return lPActualdepth;
	}
	/**
	 * 设置：土层深度
	 */
	public void setLPSoil(String lPSoil) {
		this.lPSoil = lPSoil;
	}
	/**
	 * 获取：土层深度
	 */
	public String getLPSoil() {
		return lPSoil;
	}
	/**
	 * 设置：砂石深度
	 */
	public void setLPStone(String lPStone) {
		this.lPStone = lPStone;
	}
	/**
	 * 获取：砂石深度
	 */
	public String getLPStone() {
		return lPStone;
	}
	/**
	 * 设置：检查结果
	 */
	public void setLPResult(String lPResult) {
		this.lPResult = lPResult;
	}
	/**
	 * 获取：检查结果
	 */
	public String getLPResult() {
		return lPResult;
	}
	/**
	 * 设置：添加时间
	 */
	public void setLPAddtime(Date lPAddtime) {
		this.lPAddtime = lPAddtime;
	}
	/**
	 * 获取：添加时间
	 */
	public Date getLPAddtime() {
		return lPAddtime;
	}
	/**
	 * 设置：状态
	 */
	public void setLPDatastate(String lPDatastate) {
		this.lPDatastate = lPDatastate;
	}
	/**
	 * 获取：状态
	 */
	public String getLPDatastate() {
		return lPDatastate;
	}
}
